package com.sharp.authorization.annotation.auth;

import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;

/**
 * Title: AuthRole
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2021/8/17 18:56
 */
@Component
public interface AuthRole {
    /**
     * 鉴权
     *
     * @param request 请求
     */
    void validate(HttpServletRequest request);


}
